package model;

/**
 * This Class is for View Sample Test Case saves photos user already view .
 * @author Tal
 */
public class CustomerPhotosModel 
{

	/** The Uid. */
	private int Uid;
	
	/** The photo model. */
	private SearchPhotoModel photoModel;
	
	
	/**
	 * Instantiates a new customer photos model.
	 *
	 * @param uid the uid
	 * @param photo the photo
	 */
	public CustomerPhotosModel(int uid ,SearchPhotoModel photo)
	{
		this.Uid=uid;	
		this.photoModel=new SearchPhotoModel(photo.getTimeStamp(),photo.getLocation(),photo.getLinkToFile());
		
	}
	
	/**
	 * Gets the uid.
	 *
	 * @return the uid
	 */
	public int getUID() 
	{
		return Uid;
	}

	/**
	 * Gets the photo.
	 *
	 * @return the photo
	 */
	public  SearchPhotoModel getPhoto() 
	{
		return photoModel;
	}

}
